package com.qing.design.patterns.state.example.demo2.activity;

import java.time.LocalDateTime;

/**
 * 活动基本信息
 */
public class ActivityInfo {

    private String activityId; //活动ID

    private String activityName; //活动名称

    private Enum<Status> status; //活动状态

    private LocalDateTime beginTime; //开始时间

    private LocalDateTime endTime; //结束时间


    public ActivityInfo() {
    }

    public ActivityInfo(String activityId, String activityName, Enum<Status> status, LocalDateTime beginTime, LocalDateTime endTime) {
        this.activityId = activityId;
        this.activityName = activityName;
        this.status = status;
        this.beginTime = beginTime;
        this.endTime = endTime;
    }


    @Override
    public String toString() {
        return "ActivityInfo{" +
                "activityId='" + activityId + '\'' +
                ", activityName='" + activityName + '\'' +
                ", status=" + status +
                ", beginTime=" + beginTime +
                ", endTime=" + endTime +
                '}';
    }
}
